package cn.polymhomework01;

public class Animal {
    String name;


    public Animal() {
        super();
    }


    public Animal(String name) {
        super();
        this.name = name;
    }


    public void eat(){
        System.out.println("正在吃...");
    }
    public void cry(){
        System.out.println("正在叫喊...");
    }
}
